@extends('layouts.information')

@section('title','部门创建')

@section('content')
    <div class="panel-body">
        {!! Form::open() !!}
        <h1>{{ $role->display_name }}</h1>
        <div class="form-group">
            {!! Form::label('permission_id','权限') !!}
            {!! Form::select('permission_id',$perms) !!}
        </div>
        {!! Form::submit('提交') !!}
        {!! Form::close() !!}
    </div>
@endsection

@section('scripts')
    @if ($errors->any())
        <script>
            alert('{{ current($errors->all()) }}');
        </script>
    @endif
@endsection
